<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta content="zh-cn" http-equiv="Content-Language" />
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
		<meta name="renderer" content="webkit"/>
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0,  user-scalable=no"/>
		<title>{%$lngpack.sitename%}</title>
		<meta name="keywords" content="{%$lngpack.keyword%}" />
		<meta name="description" content="{%$lngpack.description%}" />
		<link rel="icon" type="image/png" href="{%$icon_16%}" sizes="16x16"/>
		<link rel="icon" type="image/png" href="{%$icon_32%}" sizes="32x32"/>
		<link rel="icon" type="image/png" href="{%$icon_64%}" sizes="64x64"/>
		<link href="{%$rootpath%}css/bootstrap.css" rel="stylesheet" type="text/css" />
		<link href="{%$rootpath%}css/espcmsp8_font.css" rel="stylesheet" type="text/css" />
		<link href="{%$rootpath%}css/swiper.min.css" rel="stylesheet" type="text/css" />
		<link href="{%$rootpath%}css/espcmsp8_all.css" rel="stylesheet" type="text/css" />
		<link href="{%$rootpath%}css/espcms_p8_public.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/jquery.min.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/bootstrap.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/swiper.min.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/espcms_base.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/espcms_dialog.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/espcms_formvalidation.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/citydb.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/cityselect.js"></script>
		<script type="text/javascript" src="{%$rootdir%}js/My97DatePicker/WdatePicker.js"></script>
	</head>

	<body>
		{%link file="public/head.html"%}
		<section class="bann_container">
			<div class="container page_bann_title">
				<h2>会员中心</h2>
			</div>
		</section>

		<section class="container espcms_page_book">
			<div class="row">
				<div class="col-xs-12 col-sm-12 col-md-3">
					{%list name=memmenu%}
				</div>
				<div class="col-xs-12 col-sm-12 col-md-9">
					<div class="panel panel-info espcms_member_page">
						<div class="panel-heading"><h3>查看优惠卷</h3></div>
						<div class="panel-body">
							<div class="panel_read_group">
								<label class="col-sm-2 control-label">优惠活动名称</label>
								<div class="col-sm-10 pt7">{%$read.coupontitle%}</div>
								<label class="col-sm-2 control-label">领取活动限制</label>
								<div class="col-sm-10 pt7">
									{%if $read.istime%}
									{%$read.starttime|espcms_timeformat(3)%} 至 {%$read.endtime|espcms_timeformat(3)%}
									{%else%}
									不限制
									{%/if%}
								</div>
								<label class="col-sm-2 control-label">优惠卷类型</label>
								<div class="col-sm-10 pt7">{%if $read.istype==1%}现金卷{%else%}折扣卷{%/if%}</div>
								{%if $read.istype==1%}
								<label class="col-sm-2 control-label">优惠金额</label>
								<div class="col-sm-10 pt7">{%$read.bprice|espcms_format_money(3)%}</div>
								{%/if%}
								{%if $read.istype==1%}
								<label class="col-sm-2 control-label">优惠比例</label>
								<div class="col-sm-10 pt7">{%$read.discount%}%</div>
								{%/if%}
								<label class="col-sm-2 control-label">最低消费金额</label>
								<div class="col-sm-10 pt7">{%if $read.iscount%}{%$read.countprice|espcms_format_money(3)%}{%else%}不限制{%/if%}</div>
								<label class="col-sm-2 control-label">优惠卷总数</label>
								<div class="col-sm-10 pt7">{%$read.usernum%}张</div>
								<label class="col-sm-2 control-label">每人领取限制</label>
								<div class="col-sm-10 pt7">{%if $read.isgetnum%}每人可领{%$read.membernum%}张{%else%}不限制{%/if%}</div>
								<label class="col-sm-2 control-label">使用时间限制</label>
								<div class="col-sm-10 pt7">
									{%if $read.isusertime%}
									{%$read.use_startime|espcms_timeformat(3)%} 至 {%$read.use_endtime|espcms_timeformat(3)%}
									{%else%}
									不限制
									{%/if%}
								</div>
								<label class="col-sm-2 control-label">领限会员等级</label>
								<div class="col-sm-10 pt7">
									{%if count(member_class_list)>0 && $read.mcid%}
										{%forlist from=$member_class_list key=i%}
										{%if key=>i>1%}、{%/if%}{%$member_class_list[i].rankname%}
										{%/forlist%}
									{%else%}
										不限制
									{%/if%}
								</div>
								<label class="col-sm-2 control-label">领取积分要求</label>
								<div class="col-sm-10 pt7">{%if $read.isinter%}大于{%$read.integral%}分{%else%}不限制{%/if%}</div>
								<label class="col-sm-2 control-label">适用范围</label>
								<div class="col-sm-10 pt7">
									{%if $read.scopetype==0%}不限制{%/if%}
									{%if $read.scopetype==1%}限制商品分类{%/if%}
									{%if $read.scopetype==2%}限制具体商品{%/if%}
								</div>
								{%if $read.scopetype==1%}
								<label class="col-sm-2 control-label">限制所属分类</label>
								<div class="col-sm-10 pt7">
									{%if count($article_type_array) > 0%}
									{%forlist from=$article_type_array key=i%}
									{%if key=>i>1%}、{%/if%}{%$article_type_array[i].typename%}
									{%/forlist%}
									{%else%}
									不限制
									{%/if%}
								</div>
								{%/if%}
								{%if $read.scopetype==2%}
								<label class="col-sm-2 control-label">限制所属商品</label>
								<div class="col-sm-10 pt7">{%if $title_list%}{%$title_list%}{%else%}不限制{%/if%}</div>
								{%/if%}
							</div>
						</div>
					</div>
				</div>
			</div>
		</section>

		{%link file="public/footer.html"%}
	</body>
</html>